<template>
    <div style="position: relative;height: 100%;">
        <a-spin size="large" tip="Loading..." style="position: absolute;top: 30%;left: 50%;"/>
    </div>
</template>

<script>
    export default {
        mounted(){
            //  删除登录标记
            this.$store.commit('delAccessToken');
            this.$store.commit('delUserInfo');
            //  重定向到登录页面
            window.location.href = this.$store.getters.getOauthAuthorizeUrl + '&callback=/';
        }
    }
</script>
